package com.cljh.mapper;

import com.cljh.bean.Img;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface ImgMapper {
    int insert(Img img);

    int update(@Param("img")Img img);

    @Delete("delete from mtmall_test.product_img where id=#{id};")
    int delete(Integer id);
}
